package com.web.system.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.web.system.po.TreeMenuPo;
import com.web.system.po.UserPo;

public interface TreeMenuService {
	List<Map<String, Object>> syncMenu(HttpServletRequest request, UserPo user, String type);
	public TreeMenuPo getTreeMenuPoByMenuId(String MenuId);
	List<TreeMenuPo> getMenuList(String queryString, int first, int pageSize);
	public int getTotal(String sql);
	public boolean isLeafMenuId(String menuId);
	public String getAddMenuIdByParentId(String parentId);
	public int getAddGradeByParentId(String parentId);
	public boolean saveOrUpdateMenu(TreeMenuPo treeMenuPo);
	public TreeMenuPo getMenuByMenuId(String id);
	public boolean updateAndDeleteMenu(TreeMenuPo treeMenu, TreeMenuPo treeMenuPo);
	boolean isExistMenu(String menuName);
	public int executeUpdates(String sql);
	//public 
}
